﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:h="clr-namespace:WickedFlame.Core.History;assembly=VecDraw.Core">

    <DataTemplate DataType="{x:Type h:AddCommand}">
        <Border Background="Transparent">
            <StackPanel Orientation="Horizontal">
                <Image Source="/VecDraw.Resources;component/Images/VecDraw.Pin.Add.png" Margin="5,0,10,0"/>
                <TextBlock Text="Shape added" Grid.Column="1" />
            </StackPanel>
        </Border>
    </DataTemplate>
    
    <DataTemplate DataType="{x:Type h:DeleteCommand}">
        <Border Background="Transparent">
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch">
                <Image Source="/VecDraw.Resources;component/Images/VecDraw.Pin.Delete.png" Margin="5,0,10,0"/>
                <TextBlock Text="Shape deleted" Grid.Column="1" />
            </StackPanel>
        </Border>
    </DataTemplate>

    <DataTemplate DataType="{x:Type h:PixelMoveCommand}">
        <Border Background="Transparent">
            <StackPanel Orientation="Horizontal">
                <Image Source="/VecDraw.Resources;component/Images/VecDraw.Pin.PointerBlue.png" Margin="5,0,10,0"/>
                <TextBlock Text="Pixel move" Grid.Column="1" />
            </StackPanel>
        </Border>
    </DataTemplate>

    <DataTemplate DataType="{x:Type h:MoveCommand}">
        <Border Background="Transparent">
            <StackPanel Orientation="Horizontal">
                <Image Source="/VecDraw.Resources;component/Images/VecDraw.Pin.PointerBlue.png" Margin="5,0,10,0"/>
                <TextBlock Text="Move" Grid.Column="1" />
            </StackPanel>
        </Border>
    </DataTemplate>

    <DataTemplate DataType="{x:Type h:SizeChangedCommand}">
        <Border Background="Transparent">
            <StackPanel Orientation="Horizontal">
                <Image Source="/VecDraw.Resources;component/Images/VecDraw.Pin.Selection.png" Margin="5,0,10,0"/>
                <TextBlock Text="Change size" Grid.Column="1" />
            </StackPanel>
        </Border>
    </DataTemplate>

    <DataTemplate DataType="{x:Type h:LayerAddedCommand}">
        <Border Background="Transparent">
            <StackPanel Orientation="Horizontal">
                <Image Source="/VecDraw.Resources;component/Images/VecDraw.Pin.AddLayer.png" Margin="5,0,10,0"/>
                <TextBlock Text="Layer added" Grid.Column="1" />
            </StackPanel>
        </Border>
    </DataTemplate>

    <DataTemplate DataType="{x:Type h:LayerDeleteCommand}">
        <Border Background="Transparent">
            <StackPanel Orientation="Horizontal">
                <Image Source="/VecDraw.Resources;component/Images/VecDraw.Pin.DeleteLayer.png" Margin="5,0,10,0"/>
                <TextBlock Text="Layer deleted" Grid.Column="1" />
            </StackPanel>
        </Border>
    </DataTemplate>
    
    
    <DataTemplate DataType="{x:Type h:ConvertToImageCommand}">
        <Border Background="Transparent">
            <StackPanel Orientation="Horizontal">
                <!--<Image Source="/VecDraw.Resources;component/Images/VecDraw.Pin.DeleteLayer.png" Margin="5,0,10,0"/>-->
                <TextBlock Text="Convert to image" Grid.Column="1" />
            </StackPanel>
        </Border>
    </DataTemplate>

    <DataTemplate DataType="{x:Type h:ConvertToPolygonCommand}">
        <Border Background="Transparent">
            <StackPanel Orientation="Horizontal">
                <!--<Image Source="/VecDraw.Resources;component/Images/VecDraw.Pin.DeleteLayer.png" Margin="5,0,10,0"/>-->
                <TextBlock Text="Convert to polygon" Grid.Column="1" />
            </StackPanel>
        </Border>
    </DataTemplate>

    <DataTemplate DataType="{x:Type h:CutCommand}">
        <Border Background="Transparent">
            <StackPanel Orientation="Horizontal">
                <!--<Image Source="/VecDraw.Resources;component/Images/VecDraw.Pin.DeleteLayer.png" Margin="5,0,10,0"/>-->
                <TextBlock Text="Cut" Grid.Column="1" />
            </StackPanel>
        </Border>
    </DataTemplate>

    <DataTemplate DataType="{x:Type h:PropertyChangedCommand}">
        <Border Background="Transparent">
            <StackPanel Orientation="Horizontal">
                <!--<Image Source="/VecDraw.Resources;component/Images/VecDraw.Pin.DeleteLayer.png" Margin="5,0,10,0"/>-->
                <TextBlock Text="Property changed" Grid.Column="1" />
            </StackPanel>
        </Border>
    </DataTemplate>

    <DataTemplate DataType="{x:Type h:ShapeCombineCommand}">
        <Border Background="Transparent">
            <StackPanel Orientation="Horizontal">
                <!--<Image Source="/VecDraw.Resources;component/Images/VecDraw.Pin.DeleteLayer.png" Margin="5,0,10,0"/>-->
                <TextBlock Text="Shapes combined" Grid.Column="1" />
            </StackPanel>
        </Border>
    </DataTemplate>

    <DataTemplate DataType="{x:Type h:PolygonClosedCommand}">
        <Border Background="Transparent">
            <StackPanel Orientation="Horizontal">
                <!--<Image Source="/VecDraw.Resources;component/Images/VecDraw.Pin.DeleteLayer.png" Margin="5,0,10,0"/>-->
                <TextBlock Text="Polygon closed" Grid.Column="1" />
            </StackPanel>
        </Border>
    </DataTemplate>

    

</ResourceDictionary>